doctype html
html xmlns='http://www.w3.org/1999/xhtml' lang=I18n.locale
  head
    meta charset="utf-8"
    meta http-equiv="x-ua-compatible" content="ie=edge"

    title= escape_once(strip_tags(error_title) + " | #{application_name}")

    meta name="viewport" content="width=device-width, initial-scale=1"

    link rel="icon" type="image/png" href="#{asset_url('locomotive/favicon.png')}" sizes="32x32"

    link href="https://fonts.googleapis.com/css?family=Muli:400,300|Noto+Sans:400,700" rel="stylesheet" type="text/css"

    = stylesheet_link_tag 'locomotive/account', media: 'screen'

  body class=[controller.controller_name, controller.action_name, flash.empty? ? '' : 'with-flash'].join(' ')
    .public-background
      .public-container
        .public-wrapper
          = link_to root_path, class: 'brand-logo' do
            = account_logo_tag

          = yield
